package edu.study.user.dao.mapperExt;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;

import edu.study.user.api.dto.RoleDto;
import edu.study.user.api.req.role.QueryRolePageListReq;
import edu.study.user.dao.mapper.RoleDOMapper;
import edu.study.user.dbBean.RoleDO;

public interface RoleDOMapperExt extends RoleDOMapper {
	
	RoleDO queryByRoleNo(String roleNo);
	
	RoleDO queryRoleForCheck(@Param("roleName") String roleName, @Param("departmentNo") String departmentNo);
		
	Page<RoleDto> queryRolePageList(QueryRolePageListReq req);
}